<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>修改人员</title>
    <link rel="stylesheet"  th:href="@{/bootstrap.css}">
</head>
<body class="container">
<h2>修改人员</h2>
<br>
    <form th:action="@{/guest/update}" th:object="${guest}" method="post" class="form-horizontal">
        <div class="form-group">
            <label class="col-sm-2 control-label">姓名:</label>
            <div class="col-sm-5">
                <input  type="text" name="name" id="name" th:value="*{name}" readonly>
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-2 control-label">职位:</label>
            <div class="col-sm-5">
                <input  type="text" name="role" id="role" th:value="*{role}">
            </div>
        </div>

        <div class="col-sm-offset-2 col-sm-5" >
            <input type="submit" value="提交" class="btn btn-info">
        </div>

    </form>
</body>
</html>